/**
 * 
 */function login() {
	var btnLogin;
	var btnLogout;

	btnLogin = document.getElementById("btnLogin");
	btnLogout = document.getElementById("btnLogout");

	if (btnLogin != null) {

		btnLogin.onclick = function() {
			var f = document.frm;
			if(f.mid.value ==" " || f.pwd.value ==" ") {
				alert("아이디와 비밀번호를 입력");
			}else{
				f.submit();
			}
		}
	}
	if (btnLogout != null) {
		btnLogout.onclick = function() {
			location.href = './Community/logout.jsp';
		}
	}
}